package classtst_domain;

/**
 * @version 1.0
 * @auther liquan
 * @date 2025/3/17 16:38
 * @description
 */
public class Girlfriend {

    // 创建一个show方法用于展示属性
    public void show(String name,double height,double weight){
        // girlfriend属性
        name = "凤姐";
        height = 155.0;
        weight = 130.0;
        System.out.println("我女朋友叫" + name + "，身高" + height + "厘米，体重" + weight +"斤");
    }
    // girlfriend行为
    public void wash(){
        System.out.println("女朋友帮我洗衣服");
    }
    public void cook(){
        System.out.println("女朋友给我做饭");
    }
}
